{extend name='user/public/layout' /}
{block name='content'}
<div class="overflow_h">
    <div class="screen">
        <div class="screen_box01 overflow_h">
            <ul>
                <li><a href="{:url('user.used/index')}">二手房列表</a></li>
                <li><a href="{:url('user.used/add')}">添加二手房</a></li>
                <li><a href="{:url('user.used/message')}" class="on">二手房留言</a></li>
            </ul>
        </div>
    </div>
    <div class="user-nav">
        <table class="tab_list">
            <tr>
                <th style="width: 15%">咨询时间</th>
                <th style="width: 10%">所属类型</th>
                <th style="width: 35%">房源名称</th>
                <th style="width: 10%">联系人</th>
                <th style="width: 13%">联系电话</th>
                <th style="width: 7%">状态</th>
                <th style="width: 10%">操作</th>
            </tr>
            {volist name="lists" id='vo'}
            <tr>
                <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                <td>{:baomingType($vo['type'])}</td>
                <td><a href="{:url('Second/detail',['id'=>$vo['house_id']])}" target="_blank">{$vo.house_title}</a></td>
                <td>{$vo.name}</td>
                <td>{$vo.phone}</td>
                <td class="green">{$vo['status'] ? '已联系' : '未联系' }</td>
                <td class="dn"><a href="{:url('user.used/editMsg',['id'=>$vo['id']])}">处理</a><td>
            </tr>
            {/volist}
        </table>
        <div class="plastic_bottom_pages">
            {$pages}
        </div>
    </div>
</div>

{/block}